package demo;

import java.util.ArrayList;
import java.util.Collection;
//addAll如何用？？
class Student/* implements Collection<Integer>*/ {
    private String name;
    private int age;
    private double score;

    public Student(String name, int age, double score) {
        this.name = name;
        this.age = age;
        this.score = score;
    }
}
public class Test {
    public static void main(String[] args) {
        ArrayList<Integer> arrayList = new ArrayList<>();
       // arrayList.addAll(new Student("hh",18,30.5),new Student("hehe",19,90));
    }
}
